<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>
<%
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/";
%>
<html>

<head>
	<%@ include file="/commons/meta.jsp" %>
	<base href="<%=basePath%>">
	<base   target="_self">
	<title>页面静态化</title>
</head>

<body>
<%@ include file="/commons/messages.jsp" %>

<s:form action="/pages/Users/savePwd.do" method="post" theme="simple">
	<table width="100%" class="tHeader" align="center"> 
		<tr>
			<td>
				页面静态化
			</td>
		</tr>
	</table>
	<table class="formTable"  width="100%">
		<tr>
			<td style="height: 40px;font-size: 16px;font-weight: bold" align="center">
			<a href="${ctx }/pages/Html/genIndex.do"> 生成首页 </a> &nbsp;&nbsp;&nbsp;&nbsp;
			
			<a href="${ctx }/pages/Html/genStar.do"> 生成服务、质量之星页面 </a>&nbsp;&nbsp;&nbsp;&nbsp;
			
			<a href="${ctx }/pages/Html/genHot.do"> 生成本周热门工人 </a>&nbsp;&nbsp;&nbsp;&nbsp;
			</td>
			
		</tr>		
		
	</table>
</s:form>

<script>
	
	/*new Validation(document.forms[0],{immediate:true,onSubmit:true,onFormValidate : function(result,form) {
		var finalResult = result;
		
		//在这里添加自定义验证
		
		return disableSubmit(finalResult,'submitButton');
	}});*/
	
	new Validation(document.forms[0],{immediate:true,onSubmit:true});
</script>

</body>
</html>